﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace BLL.ElecBoss
{
    /// <summary>
    /// 
    /// </summary>
    public class dutyPlan
    {
        OracleDAL.ElecBoss.dutyPlan dp = new OracleDAL.ElecBoss.dutyPlan();
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public DataSet getDutyPlanUser()
        {

            return dp.getDutyPlanUser();
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="starttime"></param>
        /// <param name="endtime"></param>
        /// <returns></returns>
        public DataSet getStatisticDutyHour(string starttime, string endtime)
        {
            return dp.getStatisticDutyHour(starttime, endtime);
        }
        public DataSet getSetFromMonth(string date)
        {
            return dp.getSetFromMonth(date);
        }
        public DataSet getRecordByDate(string strStart, string strEnd)
        {
            DataSet ds = new DataSet();

            ds = dp.getRecordByDate(strStart, strEnd);
            return ds;
        }
    }
}
